package com.my.mybatis.generator.dao;

import com.my.mybatis.generator.entity.OrderCopy;
import com.my.mybatis.generator.entity.example.OrderCopyExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderCopyMapper {
    long countByExample(OrderCopyExample example);

    int deleteByExample(OrderCopyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OrderCopy record);

    int insertSelective(OrderCopy record);

    List<OrderCopy> selectByExample(OrderCopyExample example);

    OrderCopy selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OrderCopy record, @Param("example") OrderCopyExample example);

    int updateByExample(@Param("record") OrderCopy record, @Param("example") OrderCopyExample example);

    int updateByPrimaryKeySelective(OrderCopy record);

    int updateByPrimaryKey(OrderCopy record);
}